package com.example.demo.study.designmode.creational.abstractFactory.use;

import com.example.demo.study.designmode.creational.abstractFactory.define.EarPhone;
import com.example.demo.study.designmode.creational.abstractFactory.define.Phone;
import com.example.demo.study.designmode.creational.abstractFactory.define.TechFactory;

public class AppleFactory implements TechFactory {
    @Override
    public Phone getPhone() {
        return new ApplePhone();
    }

    @Override
    public EarPhone getEarPhone() {
        return new AirPod();
    }
}
